<template>
 <Demo   v-if="isShowDemo">
 
 </Demo>
 <button @click="isShowDemo = !isShowDemo">切换隐藏/显示</button>
 <!-- 测试组件 -->
<hr>

</template>

<script>
import {ref} from 'vue'
import Demo from "./components/Demo.vue";
export default {
  name: "App",
  components: {Demo},
  setup() {
			let isShowDemo = ref(true)
			return {isShowDemo}
		}

 
  
};
</script>

<style>
</style>
